package com.qzh.summer.SummerException;

/**
 * 自定义报错类
 */
public class SummerException extends Exception{

    public SummerException(){
        System.err.println("SummerInfo：summer运行错误");
        super.printStackTrace();
    }
    public SummerException(String info){
        System.err.println("SummerInfo:"+info);
        super.printStackTrace();
        System.err.println("SummerInfo：summer运行错误");
    }

}
